﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace SDT.CrawlSystem.Servers.Filters
{
    public sealed class MsWord
    {
        public bool? MustFilterMsWord = null;
        public string VersionMsWord = null;
        public MsWord(XmlNode n)
        {
            if (n == null)
                throw new ArgumentNullException();
            MustFilterMsWord = bool.Parse(n.Attributes["FilterMsWordChar"].Value);
            VersionMsWord = n.Attributes["VersionMsWord"].Value;

        }
    }
}